<?php
namespace app\mogo\model;

use think\Model;
use traits\model\SoftDelete;

class User extends Model
{
    use SoftDelete;
    protected $table = 'dp_mogo_user';
    protected $autoWriteTimestamp = true;

    protected function getAvatarAttr($value)
    {
        return get_file_path($value);
    }

    protected function addMoney($money,$user=MOGO_ID){

    }
    protected function decMoney($money,$user=MOGO_ID){

    }
    
}
